package com.xiaobai.dynamics.config;
 
import com.xiaobai.dynamics.domin.Test;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.context.ApplicationEvent;
public class TestEvent extends ApplicationEvent {
    private String message;
    private Test test;

    public TestEvent(Object source, String message, Test test) {
        super(source);
        this.message = message;
        this.test = test;
    }

    public String getMessage() {
        return message;
    }

    public Test getTest() {
        return test;
    }
}